/**
 * 
 */
package com.net.shop.car.manager.api.volley.request;

import org.json.JSONException;
import org.json.JSONObject;

import com.net.shop.car.manager.api.volley.Request;
import com.net.shop.car.manager.utils.Constants;
import com.net.shop.car.manager.utils.LogUtils;

/**
 * 发送找回密码验证码请求,结果返回就是用Response类即可
 * @author Deve xu
 *
 */
public class SendPsdRand extends Request {

	/**
	 * 手机号
	 */
	private String mobile;
	/**
	 * @param mobile
	 */
	public SendPsdRand(String mobile) {
		super(Constants.SEND_PWD_RAND);
		this.mobile = mobile;
	}

	/* (non-Javadoc)
	 * @see com.net.shop.car.manager.api.volley.Request#extensionJSON(org.json.JSONObject)
	 */
	@Override
	public void extensionJSON(JSONObject jsonObject) {
		try {
			jsonObject.put("mobile", mobile);
		} catch (JSONException e) {
			LogUtils.e(e.getMessage());
		}
	}

}
